package com.xuetang9.BBS.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xuetang9.BBS.dao.TopictypeDao;
import com.xuetang9.BBS.domain.Topictype;
import com.xuetang9.BBS.service.TopictypeService;

@Service
public class TopictypeServiceImpl implements TopictypeService{

	
	@Autowired
	private  TopictypeDao topictypeDao ;

	@Override
	public List<Topictype> findTopictype() {
		
		return topictypeDao.findTopictypeByTtid();
	}
	

	
}
